/**
 * 
 */
package sg.edu.nus.iss.team8s.vmcs.payment;

/**
 * @author Wang Shi Jie
 *
 */
public class TransactionController {
	String mode = null;
	PaymentMode paymentMode = null;
	
	public TransactionController(){
		System.out.println("<TransactionController> - constructor() : create new TransactionController");
		
		System.out.println("<TransactionController> - constructor() : cashcard payment mode");
		this.mode = PaymentModeFactory.CASHCARD_PAYMENT;
	
		paymentMode = PaymentModeFactory.getInstance().createPaymentMode(mode);
	}
	
	public PaymentMode getPaymentMode(){
		return this.paymentMode;	
	}
}
